package com.hbisdt.cet.sample.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Profile;

/**
 * @Description
 * @Author Jiam
 * @Date 2025-03-27 10:55
 */
@Configuration
@Profile(value = "dev")
public class DevDBConnector implements DBConnector{
    @Override
    public void configure() {
        System.out.println("开发环境数据库配置：使用本地内存数据库H2");
        System.out.println("连接URL: jdbc:h2:mem:devdb");
        System.out.println("用户名: hbisdt");
        System.out.println("密码: (空)");
        System.out.println("自动创建表结构: true");
        System.out.println("日志级别: DEBUG");
    }
}
